mergDocCanOpen
Type
function
Summary
Returns true if there is an app that can open the document type
Syntax
mergDocCanOpen(<pFilePath>)
Description
Important
There is a known issue with this command on iPad where it will cause the app to crash if it is called before the stack is open.
Parameters
Name | Type | Description |
---|---|---|
pFilePath | the full path of the document. |
Examples
set the enabled of btn "open in" to mergDocCanOpen( specialFolderPath("engine")&"/pdfs/help.pdf")
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
Platforms
mobile